From d5ed151f128f5bcd7efd7ffecfd637041892aae5 Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Thu, 6 Apr 2006 14:21:45 +0100 Subject: [PATCH] Fix test to match change to DCE formatting of UUIDs. Signed-off-by: Ewan Mellor --- tools/python/xen/xend/tests/test_uuid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/python/xen/xend/tests/test_uuid.py b/tools/python/xen/xend/tests/test_uuid.py index d79ab53e4a..d96c9043e1 100644 --- a/tools/python/xen/xend/tests/test_uuid.py +++ b/tools/python/xen/xend/tests/test_uuid.py @@ -21,9 +21,9 @@ class test_uuid(unittest.TestCase): self.assertEqual(uuid.toString(inp), expected) self.assertEqual(uuid.fromString(expected), inp) - t([0 for _ in range(0, 16)], "00000000-00000000-00000000-00000000") + t([0 for _ in range(0, 16)], "00000000-0000-0000-0000-000000000000") t([185, 158, 125, 206, 250, 178, 125, 57, 2, 6, 162, 74, 178, 236, - 196, 5], "b99e7dce-fab27d39-0206a24a-b2ecc405") + 196, 5], "b99e7dce-fab2-7d39-0206-a24ab2ecc405") def test_suite(): -- 2.30.2